-
Home
-
Shield: Blocks Bots, Protects Users, and Prevents Security Breaches
-
20.0.4
-
Code
-
Classes
- CrowdSecApi
| Total Complexity |
68 |
| Dependencies |
18 |
| Dependents |
1 |
| Total lines |
369 |
| Lines of code |
292 |
| Logical lines of code |
151 |
| Comment lines |
18 |
| Methods |
16 |
| Properties |
0 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| login() |
A |
42 |
11 |
60 |
| getAuthStatus() |
A |
47 |
11 |
37 |
| machineLogin() |
A |
49 |
8 |
31 |
| machineEnroll() |
S |
49 |
6 |
32 |
| authStart() |
S |
50 |
6 |
27 |
| getScenarios() |
S |
61 |
5 |
11 |
| getCsAuths() |
S |
54 |
4 |
21 |
| generateCrowdsecPassword() |
S |
58 |
4 |
14 |
| machineRegister() |
S |
56 |
3 |
19 |
| storeCsAuth() |
S |
58 |
3 |
14 |
| getApiUserAgent() |
S |
74 |
2 |
4 |
| isReady() |
S |
68 |
1 |
8 |
| clearEnrollment() |
S |
73 |
1 |
5 |
| getAuthorizationToken() |
S |
79 |
1 |
3 |
| getMachineID() |
S |
79 |
1 |
3 |
| getCsAuth() |
S |
79 |
1 |
3 |